<link rel="stylesheet" type="text/css" href="assets/bootstrap-datepicker/css/bootstrap-datetimepicker.min.css" />
<link rel="stylesheet" type="text/css" href="tag/selectpage.css" />
<link rel="stylesheet" type="text/css" href="tag/demo.css" />
<section id="main-content">
  <section class="wrapper">
    <!--state overview end-->
    <div class="row">
        <form>
      <div class="col-lg-12">
        <section class="panel hdoabtmeg" id="isShow">
          <header class="panel-heading">
            出差/公干信息
          </header>
          <div class="panel-body">
            <div class="form-group customerForm">
              <label class="col-sm-2 control-label">类型</label>
              <div class="col-sm-10">
                <select id="type" class="form-control" ng-model="type" name="type" disabled>
                  <option value="1">出差</option>
                  <option value="2">公干</option>
                </select>
              </div>
            </div>

            <div class="form-group customerForm">
              <label class="col-sm-2 control-label">归属部门</label>
              <div class="col-sm-10">
                <select id="deptCode" class="form-control" ng-model="deptCode" certus-required>
                  <option ng-repeat="x in depts" value="{{x.departmentCode}}">{{x.departmentName}}</option>
                </select>
              </div>
            </div>
            <div class="form-group customerForm">
              <label class="col-sm-2 control-label">归属项目</label>
              <div class="col-sm-10">
                <select class="form-control" id="proId" name="proId" disabled certus-required ng-model="proId">
                  <option value="">请选择</option>
                  <option ng-repeat="x in proList" value="{{x.id}}">{{x.proName}}</option>
                </select>
              </div>
            </div>
            <div class="form-group customerForm">
              <label class="col-sm-2 control-label">随同人员</label>
              <div class="col-sm-10">
                <input type="text" class="input-block-level" id="selectPage"
                       data-init="{{stUser}}">
              </div>
            </div>
            <div class="form-group customerForm">
              <label class="col-sm-2 control-label">地点</label>
              <div class="col-sm-10">
                <input type="text" class="form-control" value="{{planCity}}" id="planCity" certus-required>
              </div>
            </div>
            <div class="form-group customerForm">
              <label class="col-sm-2 control-label">计划开始时间</label>
              <div class="col-sm-10">
                <input type="text" class="form-control" value="{{planStarTime}}" id="plansTime" certus-required>
              </div>
            </div>
            <div class="form-group customerForm">
              <label class="col-sm-2 control-label">计划结束时间</label>
              <div class="col-sm-10">
                <input type="text" class="form-control" value="{{planEndTime}}" id="planeTime" certus-required>
              </div>
            </div>
            <div class="form-group customerForm">
              <label class="col-sm-2 control-label">工作计划</label>
              <div class="col-sm-10">
                <textarea class="form-control"  maxlength="120"  id="planComments" certus-required>{{planComments}}</textarea>
              </div>
            </div>

            <div class="form-group customerForm" id="ist1">
              <label class="col-sm-2 control-label">火车/汽车</label>
              <div class="col-sm-10">
                <input type="text" onkeyup="this.value=this.value.replace(/[^\d]/g,'');" value="{{carBuget}}" class="form-control"  id="carBuget" certus-required>
              </div>
            </div>
            <div class="form-group customerForm" id="ist2">
              <label class="col-sm-2 control-label">飞机费用</label>
              <div class="col-sm-10">
                <input type="text" onkeyup="this.value=this.value.replace(/[^\d]/g,'');" value="{{planeBuget}}" class="form-control" id="planeBuget" certus-required>
              </div>
            </div>
            <div class="form-group customerForm">
              <label class="col-sm-2 control-label">交通费用</label>
              <div class="col-sm-10">
                <input type="text" onkeyup="this.value=this.value.replace(/[^\d]/g,'');" value="{{trafficBuget}}" class="form-control" id="trafficBuget" certus-required>
              </div>
            </div>
            <div class="form-group customerForm" id="ist3">
              <label class="col-sm-2 control-label">住宿费用</label>
              <div class="col-sm-10">
                <input type="text" onkeyup="this.value=this.value.replace(/[^\d]/g,'');" value="{{stayBuget}}" class="form-control" id="stayBuget" certus-required>
              </div>
            </div>
            <div class="form-group customerForm">
              <label class="col-sm-2 control-label">招待费</label>
              <div class="col-sm-10">
                <input type="text" onkeyup="this.value=this.value.replace(/[^\d]/g,'');" value="{{serveBuget}}" class="form-control" id="serveBuget" certus-required>
              </div>
            </div>
            <div class="form-group customerForm">
              <label class="col-sm-2 control-label">其他费用</label>
              <div class="col-sm-10">
                <input type="text" onkeyup="this.value=this.value.replace(/[^\d]/g,'');" value="{{otherBuget}}" class="form-control" id="otherBuget" certus-required>
              </div>
            </div>
            <div class="form-group customerForm" id="isTrip">
              <label class="col-sm-2 control-label">出差补助</label>
              <div class="col-sm-10">
                <input type="text" onkeyup="this.value=this.value.replace(/[^\d]/g,'');" value="{{subsidyBuget}}" class="form-control" id="subsidyBuget" certus-required>
              </div>
            </div>

            <p class="default-buttons">
              <a href="javascript:void(0);" class="button-back btn btn-info" onclick="hdoabtmeg();">取消</a>
            </p>
          </div>
        </section>
        <section class="panel">
          <header class="panel-heading add-heading">
            出差计划
          </header>
          <div class="panel-body">
            <div id="oabtContainer1" class="dlshouwen-grid-container"></div>
          </div>
        </section>
        <section class="panel">
          <div class="panel-body">
            <p class="default-buttons">
              <a href="javascript:void(0);" class="button-back btn btn-info" onclick="window.history.back()">返回</a>
              <a href="javascript:void(0);" class="button-back  btn btn-danger unagree" style="margin-left: 7px;">取消申请</a>
              <a href="javascript:void(0);" class="button-next  btn btn-success submit">确认提交</a>
            </p>
          </div>
        </section>
        <section class="panel">
          <div class="panel-heading">
            审批记录
          </div>
          <div class="panel-body">
            <ul class="tp-ulst" id="containerUl">
              <li>
                <span>人员姓名</span><span>修改时间</span><span>处理结果</span>
              </li>
            </ul>
          </div>
        </section>

      </div>
        </form>
    </div>
  </section>
</section>
<script type="text/javascript" src="assets/bootstrap-datepicker/js/bootstrap-datetimepicker.js"></script>
<script src="tag/b.selectpage.js"></script>
<script src="tag/selectpage.js"></script>
<script src="js/trip/edittrip.js"></script>
<script src="js/trip/spNode.js"></script>
<script>
    //时间控件
    $("#plansTime").datetimepicker({
        format: 'yyyy-mm-dd hh:ii:ss'
    });
    $("#planeTime").datetimepicker({
        format: 'yyyy-mm-dd hh:ii:ss'
    });
</script>